package com.ylkj.wx.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.ylkj.wx.dao.OrderInfoDAO;
import com.ylkj.wx.dto.OrderInfoDTO;
import com.ylkj.wx.entitis.OrderEntity;
import com.ylkj.wx.service.OrderInfoService;

@Service
public class OrderInfoServiceImpl implements OrderInfoService {

	@Autowired
	private OrderInfoDAO orderInfoDAO;
	@Override
	public List<OrderInfoDTO> findOrderInfoList(int pageNum, int pageSize) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public OrderInfoDTO fineOneOrderInfoById(int orderId) {
		// TODO Auto-generated method stub
		return orderInfoDAO.fineOneOrderInfoById(orderId);
	}

	@Override
	public void saveorderInfo(OrderEntity entityOrder) {
		orderInfoDAO.saveorderInfo(entityOrder);
	}

}
